projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d01a291
)
Update treeview tests for focus changes
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 May 2014 10:15:12 +0000
(06:15 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 May 2014 10:15:12 +0000
(06:15 -0400)
The treeview is not using focus-pad here anymore, so update
the tests to not expect it.
testsuite/gtk/treeview.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/treeview.c
b/testsuite/gtk/treeview.c
index b39d9f6233f4b75cc1146a4e095b3ddebee74a6c..abe1885256ab45e244ace2247b206ec85a51ad6f 100644
(file)
--- a/
testsuite/gtk/treeview.c
+++ b/
testsuite/gtk/treeview.c
@@
-216,9
+216,9
@@
test_row_separator_height (void)
NULL);
if (wide_separators)
- height = separator_height
+ 2 * focus_pad
;
+ height = separator_height;
else
- height = 2
+ 2 * focus_pad
;
+ height = 2;
g_assert_cmpint (rect.height, ==, height);
g_assert_cmpint (cell_rect.height, ==, height);